package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 员工薪资对象 salary
 * 
 * @author 503
 * @date 2021-05-04
 */
public class Salary extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**  */
    private Long salaryId;

    /** 员工编号 */
    @Excel(name = "员工编号")
    private Long workerId;

    /** 工资 */
    @Excel(name = "工资")
    private Long salary;

    /** 月份 */
    @Excel(name = "月份")
    private Long month;

    /** 季度 */
    @Excel(name = "季度")
    private Long quarter;

    /** 年份 */
    @Excel(name = "年份")
    private Long year;

    /** 发放详情 */
    @Excel(name = "发放详情")
    private String salaryDetails;

    public void setSalaryId(Long salaryId) 
    {
        this.salaryId = salaryId;
    }

    public Long getSalaryId() 
    {
        return salaryId;
    }
    public void setWorkerId(Long workerId) 
    {
        this.workerId = workerId;
    }

    public Long getWorkerId() 
    {
        return workerId;
    }
    public void setSalary(Long salary) 
    {
        this.salary = salary;
    }

    public Long getSalary() 
    {
        return salary;
    }
    public void setMonth(Long month) 
    {
        this.month = month;
    }

    public Long getMonth() 
    {
        return month;
    }
    public void setQuarter(Long quarter) 
    {
        this.quarter = quarter;
    }

    public Long getQuarter() 
    {
        return quarter;
    }
    public void setYear(Long year) 
    {
        this.year = year;
    }

    public Long getYear() 
    {
        return year;
    }
    public void setSalaryDetails(String salaryDetails) 
    {
        this.salaryDetails = salaryDetails;
    }

    public String getSalaryDetails() 
    {
        return salaryDetails;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("salaryId", getSalaryId())
            .append("workerId", getWorkerId())
            .append("salary", getSalary())
            .append("month", getMonth())
            .append("quarter", getQuarter())
            .append("year", getYear())
            .append("salaryDetails", getSalaryDetails())
            .toString();
    }
}
